package com.warframe.entity.market.warframe;

import com.alibaba.fastjson.annotation.JSONField;

public class WarframeMarketStatisticsMO {
    /**
     * statistics_closed : {"48hours":[{"datetime":"2018-10-22T16:00:00.000+00:00","volume":4,"min_price":15,"max_price":15,"open_price":15,"closed_price":15,"avg_price":15,"wa_price":15,"median":15,"donch_top":15,"donch_bot":15,"order_type":"sell","moving_avg":13.9,"id":"5bce0277fb16660023fa0240"}],"90days":[{"datetime":"2018-08-10T00:00:00.000+00:00","volume":6,"min_price":15,"max_price":28,"open_price":28,"closed_price":15,"avg_price":21.5,"wa_price":17.166666666666668,"median":15,"donch_top":28,"donch_bot":15,"order_type":"sell","moving_avg":13.9,"id":"5ba59914ef6974006a184919"}]}
     * statistics_live : {"48hours":[{"datetime":"2018-10-22T07:00:00.000+00:00","volume":1324,"min_price":5,"max_price":10,"avg_price":7.5,"wa_price":5.85,"median":10,"order_type":"buy","moving_avg":11.4,"id":"5bcd83f5fb16660023f995e2"}],"90days":[{"datetime":"2018-09-14T00:00:00.000+00:00","volume":200,"min_price":10,"max_price":10,"avg_price":10,"wa_price":10,"median":10,"order_type":"buy","id":"5ba59916ef6974006a184943"}]}
     */

    @JSONField(name = "statistics_closed")
    private StatisticsClosed statisticsClosed;
    @JSONField(name = "statistics_live")
    private StatisticsLive statisticsLive;

    public WarframeMarketStatisticsMO() {
        this.statisticsClosed = new StatisticsClosed();
        this.statisticsLive = new StatisticsLive();
    }

    public StatisticsClosed getStatisticsClosed() {
        return statisticsClosed;
    }

    public void setStatisticsClosed(StatisticsClosed statisticsClosed) {
        this.statisticsClosed = statisticsClosed;
    }

    public StatisticsLive getStatisticsLive() {
        return statisticsLive;
    }

    public void setStatisticsLive(StatisticsLive statisticsLive) {
        this.statisticsLive = statisticsLive;
    }
}
